<?php

include_once "mp3.class.php";

//implementation array indices
$mesMp3[] = new Mp3("3 Y'a de la joie","Charles Trenet", 3.09);
$mesMp3[] = new Mp3("2 La pluie","Claude Nougaro", 3.54);
$mesMp3[] = new Mp3("1 Gaston y'a le telefon qui son","Nino ferrer", 2.97);

usort($mesMp3, array("Mp3","compareToArtiste"));

foreach($mesMp3 as $unMp3) {
    echo $unMp3 . "\n";
}

?>
https://hesloin.nicolas@code.google.com/p/versionning-panier/ 
FD3NS7hQ2GP3